FROM centos:7

ENV PUBLIC_IP=1.2.3.4 \
    PORT=10000 \
    PUBLIC_KEY=1B171AA3285F8976A278A9C39DF418F19DFB43FE2793D29CD6A2630ADD65E651

COPY run.sh /root/

RUN chmod -R 777 /root/run.sh &&\
    yum install -y net-tools

ENTRYPOINT ["/root/run.sh"]